package com.chinairi.mall.model;

import java.math.BigDecimal;
import com.baomidou.mybatisplus.annotation.TableName;
import java.util.Date;
import com.baomidou.mybatisplus.annotation.TableId;
import com.chinairi.common.model.BaseModel;
import com.baomidou.mybatisplus.annotation.TableField;

/**
 * <p>
 * 项目表
 * </p>
 *
 * @author gsl
 * @since 2020-09-15
 */
@TableName("PROJECT")
public class Project extends BaseModel {

    private static final long serialVersionUID = 1L;

    /**
     * 项目系统编号
     */
    @TableId("P_ID")
    private String pId;

    /**
     * 企业表主键
     */
    @TableField("UCI_DBID")
    private String uciDbid;

    /**
     * 项目名称
     */
    @TableField("P_NAME")
    private String pName;

    /**
     * 项目所属单位
     */
    @TableField("P_COMPANY")
    private String pCompany;

    /**
     * 项目级别
     */
    @TableField("P_LEVEL")
    private Integer pLevel;

    /**
     * 父级项目编号
     */
    @TableField("P_PARENT_ID")
    private String pParentId;

    /**
     * 建设单位
     */
    @TableField("P_CONSTRUCTION_UNIT")
    private String pConstructionUnit;

    /**
     * 开工时间
     */
    @TableField("P_BEGIN_TIME")
    private String pBeginTime;

    /**
     * 施工地点
     */
    @TableField("P_ADDRESS")
    private String pAddress;

    /**
     * 施工地点展示
     */
    @TableField("P_ADDRESS_SHOW")
    private String pAddressShow;

    /**
     * 项目技术负责人
     */
    @TableField("P_TEC_MAN")
    private String pTecMan;

    /**
     * 项目技术负责人联系方式
     */
    @TableField("P_TEC_MAN_PHONE")
    private String pTecManPhone;

    /**
     * 物资签收人
     */
    @TableField("P_MATERIAL_SIGNER")
    private String pMaterialSigner;

    /**
     * 物资签收人联系方式
     */
    @TableField("P_MATERIAL_SIGNER_PHONE")
    private String pMaterialSignerPhone;

    /**
     * 项目总概算
     */
    @TableField("P_GENERAL_BUDGET")
    private BigDecimal pGeneralBudget;

    /**
     * 结算方式
     */
    @TableField("P_SETTLE_TYPE")
    private String pSettleType;

    /**
     * 项目类型(1井工程项目，2地建项目)
     */
    @TableField("P_TYPE")
    private String pType;

    /**
     * 是否有项目服务（0否，1是）
     */
    @TableField("P_HAS_SERVICE")
    private Integer pHasService;

    /**
     * 井号
     */
    @TableField("P_WELL_NUM")
    private String pWellNum;

    /**
     * 井别
     */
    @TableField("P_WELL_CLASS")
    private String pWellClass;

    /**
     * 井型
     */
    @TableField("P_WELL_TYPE")
    private String pWellType;

    /**
     * 井深
     */
    @TableField("P_WELL_DEPTH")
    private String pWellDepth;

    /**
     * 工区
     */
    @TableField("P_WORK_AREA")
    private String pWorkArea;

    /**
     * 保供站
     */
    @TableField("P_STATION")
    private String pStation;

    /**
     * 项目状态
     */
    @TableField("P_STATUS")
    private String pStatus;

    /**
     * ERP成品中心编码
     */
    @TableField("P_ERP_CODE")
    private String pErpCode;

    /**
     * ERP成品中心名称
     */
    @TableField("P_ERP_NAME")
    private String pErpName;

    /**
     * 项目WBS编码
     */
    @TableField("P_WBS_CODE")
    private String pWbsCode;

    /**
     * 项目WBS名称
     */
    @TableField("P_WBS_NAME")
    private String pWbsName;

    /**
     * 投资渠道
     */
    @TableField("P_INV_PATH")
    private String pInvPath;

    /**
     * 项目计划完工日期
     */
    @TableField("P_END_TIME")
    private Date pEndTime;

    /**
     * 项目关闭日期
     */
    @TableField("P_CLOSE_TIME")
    private Date pCloseTime;

    /**
     * 创建人
     */
    @TableField("CREATE_USER")
    private String createUser;

    /**
     * 创建时间
     */
    @TableField("CREATE_TIME")
    private Date createTime;

    /**
     * 修改人
     */
    @TableField("UPDATE_USER")
    private String updateUser;

    /**
     * 修改时间
     */
    @TableField("UPDATE_TIME")
    private Date updateTime;

    public String getpId() {
        return pId;
    }

    public void setpId(String pId) {
        this.pId = pId;
    }
    public String getUciDbid() {
        return uciDbid;
    }

    public void setUciDbid(String uciDbid) {
        this.uciDbid = uciDbid;
    }
    public String getpName() {
        return pName;
    }

    public void setpName(String pName) {
        this.pName = pName;
    }
    public String getpCompany() {
        return pCompany;
    }

    public void setpCompany(String pCompany) {
        this.pCompany = pCompany;
    }
    public Integer getpLevel() {
        return pLevel;
    }

    public void setpLevel(Integer pLevel) {
        this.pLevel = pLevel;
    }
    public String getpParentId() {
        return pParentId;
    }

    public void setpParentId(String pParentId) {
        this.pParentId = pParentId;
    }
    public String getpConstructionUnit() {
        return pConstructionUnit;
    }

    public void setpConstructionUnit(String pConstructionUnit) {
        this.pConstructionUnit = pConstructionUnit;
    }
    public String getpBeginTime() {
        return pBeginTime;
    }

    public void setpBeginTime(String pBeginTime) {
        this.pBeginTime = pBeginTime;
    }
    public String getpAddress() {
        return pAddress;
    }

    public void setpAddress(String pAddress) {
        this.pAddress = pAddress;
    }
    public String getpAddressShow() {
        return pAddressShow;
    }

    public void setpAddressShow(String pAddressShow) {
        this.pAddressShow = pAddressShow;
    }
    public String getpTecMan() {
        return pTecMan;
    }

    public void setpTecMan(String pTecMan) {
        this.pTecMan = pTecMan;
    }
    public String getpTecManPhone() {
        return pTecManPhone;
    }

    public void setpTecManPhone(String pTecManPhone) {
        this.pTecManPhone = pTecManPhone;
    }
    public String getpMaterialSigner() {
        return pMaterialSigner;
    }

    public void setpMaterialSigner(String pMaterialSigner) {
        this.pMaterialSigner = pMaterialSigner;
    }
    public String getpMaterialSignerPhone() {
        return pMaterialSignerPhone;
    }

    public void setpMaterialSignerPhone(String pMaterialSignerPhone) {
        this.pMaterialSignerPhone = pMaterialSignerPhone;
    }
    public BigDecimal getpGeneralBudget() {
        return pGeneralBudget;
    }

    public void setpGeneralBudget(BigDecimal pGeneralBudget) {
        this.pGeneralBudget = pGeneralBudget;
    }
    public String getpSettleType() {
        return pSettleType;
    }

    public void setpSettleType(String pSettleType) {
        this.pSettleType = pSettleType;
    }
    public String getpType() {
        return pType;
    }

    public void setpType(String pType) {
        this.pType = pType;
    }
    public String getpWellNum() {
        return pWellNum;
    }

    public Integer getpHasService() {
        return pHasService;
    }

    public void setpHasService(Integer pHasService) {
        this.pHasService = pHasService;
    }

    public void setpWellNum(String pWellNum) {
        this.pWellNum = pWellNum;
    }
    public String getpWellClass() {
        return pWellClass;
    }

    public void setpWellClass(String pWellClass) {
        this.pWellClass = pWellClass;
    }
    public String getpWellType() {
        return pWellType;
    }

    public void setpWellType(String pWellType) {
        this.pWellType = pWellType;
    }
    public String getpWellDepth() {
        return pWellDepth;
    }

    public void setpWellDepth(String pWellDepth) {
        this.pWellDepth = pWellDepth;
    }
    public String getpWorkArea() {
        return pWorkArea;
    }

    public void setpWorkArea(String pWorkArea) {
        this.pWorkArea = pWorkArea;
    }
    public String getpStation() {
        return pStation;
    }

    public void setpStation(String pStation) {
        this.pStation = pStation;
    }
    public String getpStatus() {
        return pStatus;
    }

    public void setpStatus(String pStatus) {
        this.pStatus = pStatus;
    }
    public String getpErpCode() {
        return pErpCode;
    }

    public void setpErpCode(String pErpCode) {
        this.pErpCode = pErpCode;
    }
    public String getpErpName() {
        return pErpName;
    }

    public void setpErpName(String pErpName) {
        this.pErpName = pErpName;
    }
    public String getpWbsCode() {
        return pWbsCode;
    }

    public void setpWbsCode(String pWbsCode) {
        this.pWbsCode = pWbsCode;
    }
    public String getpWbsName() {
        return pWbsName;
    }

    public void setpWbsName(String pWbsName) {
        this.pWbsName = pWbsName;
    }
    public String getpInvPath() {
        return pInvPath;
    }

    public void setpInvPath(String pInvPath) {
        this.pInvPath = pInvPath;
    }
    public Date getpEndTime() {
        return pEndTime;
    }

    public void setpEndTime(Date pEndTime) {
        this.pEndTime = pEndTime;
    }
    public Date getpCloseTime() {
        return pCloseTime;
    }

    public void setpCloseTime(Date pCloseTime) {
        this.pCloseTime = pCloseTime;
    }
    public String getCreateUser() {
        return createUser;
    }

    public void setCreateUser(String createUser) {
        this.createUser = createUser;
    }
    public Date getCreateTime() {
        return createTime;
    }

    public void setCreateTime(Date createTime) {
        this.createTime = createTime;
    }
    public String getUpdateUser() {
        return updateUser;
    }

    public void setUpdateUser(String updateUser) {
        this.updateUser = updateUser;
    }
    public Date getUpdateTime() {
        return updateTime;
    }

    public void setUpdateTime(Date updateTime) {
        this.updateTime = updateTime;
    }

    @Override
    public String toString() {
        return "Project{" +
            "pId=" + pId +
            ", uciDbid=" + uciDbid +
            ", pName=" + pName +
            ", pCompany=" + pCompany +
            ", pLevel=" + pLevel +
            ", pParentId=" + pParentId +
            ", pConstructionUnit=" + pConstructionUnit +
            ", pBeginTime=" + pBeginTime +
            ", pAddress=" + pAddress +
            ", pAddressShow=" + pAddressShow +
            ", pTecMan=" + pTecMan +
            ", pTecManPhone=" + pTecManPhone +
            ", pMaterialSigner=" + pMaterialSigner +
            ", pMaterialSignerPhone=" + pMaterialSignerPhone +
            ", pGeneralBudget=" + pGeneralBudget +
            ", pSettleType=" + pSettleType +
            ", pType=" + pType +
                ", pHasService" + pHasService +
            ", pWellNum=" + pWellNum +
            ", pWellClass=" + pWellClass +
            ", pWellType=" + pWellType +
            ", pWellDepth=" + pWellDepth +
            ", pWorkArea=" + pWorkArea +
            ", pStation=" + pStation +
            ", pStatus=" + pStatus +
            ", pErpCode=" + pErpCode +
            ", pErpName=" + pErpName +
            ", pWbsCode=" + pWbsCode +
            ", pWbsName=" + pWbsName +
            ", pInvPath=" + pInvPath +
            ", pEndTime=" + pEndTime +
            ", pCloseTime=" + pCloseTime +
            ", createUser=" + createUser +
            ", createTime=" + createTime +
            ", updateUser=" + updateUser +
            ", updateTime=" + updateTime +
        "}";
    }
}
